Plugin docs: Specify archetype repository in archetype command For snapshot versions the archetype repository must be explicitly specified. If no archetype repository is specified Maven tries to download the artifacts from Maven central, but there only release artifacts are available. Change-Id: Id4ddcff482bd98da89a79a2c76e483a55baad9df Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
diff --git a/Documentation/dev-plugins.txt b/Documentation/dev-plugins.txt index eb378f7..f74a8f5 100644 --- a/Documentation/dev-plugins.txt +++ b/Documentation/dev-plugins.txt
@@ -37,6 +37,7 @@ mvn archetype:generate -DarchetypeGroupId=com.google.gerrit \ -DarchetypeArtifactId=gerrit-plugin-archetype \ -DarchetypeVersion=2.10-SNAPSHOT \ + -DarchetypeRepository=https://oss.sonatype.org/content/repositories/snapshots/ \ -DgroupId=com.googlesource.gerrit.plugins.testplugin \ -DartifactId=testplugin ----